package cn.nebula.music.dao;

import java.sql.Time;
import java.util.Set;

import org.springframework.stereotype.Repository;

import cn.nebula.music.domain.Mv;

@Repository
public interface MvDAO {
	public Set<Mv> findAllMvs();

	public Set<Mv> findAllMvsOfBT();

	public Set<Mv> findAllMvsWP();

	public Mv findMvById(Integer id);

	public Mv findMvWPById(Integer id);

	public Mv findMvByResourcepath(String resourcepath);

	public Set<Mv> findMvByDuration(Time duration);

	public Integer addMv(Mv mv);

	public Integer updateMv(Mv mv);

	public Integer deleteMvById(Integer id);
}
